package com.tarena.test.luban.demo.rpc.demo01.client.service;

import com.tarena.test.luban.demo.rpc.demo01.server.service.People;

import java.io.*;
import java.net.Socket;

public class PeopleProxy implements People {
    @Override
    public String sayHi(String name) throws IOException {
        String result="lksadflk";
        System.out.println("服务端返回:"+result);
        //asldjflsdjflsdjflj
        return result;
    }

    @Override
    public void eat(String name) throws IOException {
        System.out.println("你好");
    }
}
